/*
 * CommandException.java
 *
 * Created on 20 novembre 2007, 13:56
 */
package com.reimscopie.console ;


/**
 * This exception is thrown by command when the execution failed.
 */
public class CommandException extends Exception {
  
  /**
   * Creates a new <code>CommandException</code> instance.
   *
   * @param msg The detailed error message.
   */
  public CommandException(String msg) {
    
    super(msg) ;
    
  }
  
  
  /**
   * Creates a new <code>CommandException</code> instance.
   *
   * @param msg The detailed error message.
   * @param cause The initial error.
   */
  public CommandException(String msg,Throwable cause) {
    
    super(msg,cause) ;
    
  }
  
  
}
